翻訳と辞書
Words near each other
・ "O" Is for Outlaw
・ "O"-Jung.Ban.Hap.
・ "Ode-to-Napoleon" hexachord
・ "Oh Yeah!" Live
・ "Our Contemporary" regional art exhibition (Leningrad, 1975)
・ "P" Is for Peril
・ "Pimpernel" Smith
・ "Polish death camp" controversy
・ "Pro knigi" ("About books")
・ "Prosopa" Greek Television Awards
・ "Pussy Cats" Starring the Walkmen
・ "Q" Is for Quarry
・ "R" Is for Ricochet
・ "R" The King (2016 film)
・ "Rags" Ragland
・ ! (album)
・ ! (disambiguation)
・ !!
・ !!!
・ !!! (album)
・ !!Destroy-Oh-Boy!!
・ !Action Pact!
・ !Arriba! La Pachanga
・ !Hero
・ !Hero (album)
・ !Kung language
・ !Oka Tokat
・ !PAUS3
・ !T.O.O.H.!
・ !Women Art Revolution


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Thrift (protocol) : ウィキペディア英語版
Apache Thrift

Thrift is an interface definition language and
binary communication protocol
that is used to define and create services for numerous languages. It is used as a remote procedure call (RPC) framework and was developed at Facebook for "scalable cross-language services development". It combines a software stack with a code generation engine to build services that work efficiently to a varying degree and seamlessly between C#, C++ (on POSIX-compliant systems〔(Thrift Requirements ), see (this issue ) for Windows support〕), Cappuccino,〔Fred Potter, (Using Thrift with Cappuccino ), parallel48's posterously luscious blog, 10 June 2010.〕 Cocoa, Delphi, Erlang, Go, Haskell, Java, Node.js, OCaml, Perl, PHP, Python, Ruby and Smalltalk. Although developed at Facebook, it is now an open source project in the Apache Software Foundation. The implementation was described in an April 2007 technical paper released by Facebook, now hosted on Apache.〔Mark Slee, Aditya Agarwal, Marc Kwiatkowski, (Thrift: Scalable Cross-Language Services Implementation )〕
==Architecture==

Thrift includes a complete stack for creating clients and servers. The top part is generated code from the Thrift definition. The services generate from this file client and processor code. In contrast to built-in types, created data structures are sent as result in generated code. The protocol and transport layer are part of the runtime library. With Thrift, it is possible to define a service and change the protocol and transport without recompiling the code. Besides the client part, Thrift includes server infrastructure to tie protocols and transports together, like blocking, non-blocking, and multi-threaded servers. The underlying I/O part of the stack is differently implemented for different languages.
Thrift supports a number of protocols:〔
* TBinaryProtocol – A straightforward binary format, simple, but not optimized for space efficiency. Faster to process than the text protocol but more difficult to debug.
* TCompactProtocol – More compact binary format; typically more efficient to process as well
* TDebugProtocol – A human-readable text format to aid in debugging.
* TDenseProtocol – Similar to TCompactProtocol, stripping off the meta information from what is transmitted.
* TJSONProtocol – Uses JSON for encoding of data.
* TSimpleJSONProtocol – A write-only protocol that cannot be parsed by Thrift because it drops metadata using JSON. Suitable for parsing by scripting languages.
The supported ''transports'' are:
* TFileTransport – This transport writes to a file.
* TFramedTransport – This transport is required when using a non-blocking server. It sends data in frames, where each frame is preceded by length information.
* TMemoryTransport – Uses memory for I/O. The Java implementation uses a simple internally.
* TSocket – Uses blocking socket I/O for transport.
* TZlibTransport – Performs compression using zlib. Used in conjunction with another transport.
Thrift also provides a number of servers, which are
* TNonblockingServer – A multi-threaded server using non-blocking I/O (Java implementation uses NIO channels). TFramedTransport must be used with this server.
* TSimpleServer – A single-threaded server using standard blocking I/O. Useful for testing.
* TThreadPoolServer – A multi-threaded server using standard blocking I/O.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Apache Thrift」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.